import request from '@/utils/request'

/**
 * 运输异常
 */
export function getTransportAbnormalList(query) {
  return request({
    url: '/arpa-basic-api/transportAbnormal',
    method: 'get',
    params: query
  })
}
export function getTransportAbnormalDetail(code) {
  return request({
    url: `/arpa-basic-api/transportAbnormal/${code}`,
    method: 'get'
  })
}
export function batchRead(query) {
  return request({
    url: `/arpa-basic-api/transportAbnormal/batchRead`,
    method: 'post',
    params: query
  })
}
export function fetchList(query) {
  return request({
    url: '/arpa-basic-api/orderComment/report',
    method: 'get',
    params: query
  })
}
export function shipmentReport(query) {
  return request({
    url: '/arpa-basic-api/orderComment/shipmentReport',
    method: 'get',
    params: query
  })
}
export function evaluateList(query) {
  return request({
    url: '/arpa-basic-api/orderComment',
    method: 'get',
    params: query
  })
}
export function feedbackList(query) {
  return request({
    url: '/arpa-basic-api/feedback',
    method: 'get',
    params: query
  })
}
export function EditOriginalGoods(data) {
  return request({
    url: '/ntocc-tms-api/orderDetail/detailPaperReturns',
    method: 'put',
    params: data
  })
}
export function payAdvance(data) {
  return request({
    url: '/ntocc-tms-api/payAdvance',
    method: 'post',
    params: data
  })
}
export function payAdvanceOilCard(data) {
  return request({
    url: '/ntocc-tms-api/payAdvance/oilCard',
    method: 'post',
    params: data
  })
}
export function payAdvanceYuList(query) {
  return request({
    url: '/ntocc-tms-api/payAdvance',
    method: 'get',
    params: query
  })
}
